package pl.edu.agh.inpema.core.model.globalAnalyzer;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

import org.apache.log4j.Logger;

public class GlobalAnalyzeResult {

	private Map<String, AnalyzerResults> analyzerResultsMap = new HashMap<String, AnalyzerResults>();
	
	private static final Logger logger = Logger.getLogger(GlobalAnalyzeResult.class);
	
	public AnalyzerResults getAnalyzerResults(String analyzer) {
		return this.analyzerResultsMap.get(analyzer);
	}
	
	public void setAnalyzerResult(String analyzer, AnalyzerResults result) {
		this.analyzerResultsMap.put(analyzer, result);
	}
	
	public Set<String> getAnalyzers() {
		return this.analyzerResultsMap.keySet();
	}
}
